<?php
namespace Home\Controller;
use Common\Controller\HomeBaseController;
/**
 * 商城首页Controller
 */
class GroupController extends HomeBaseController{

	/**
	 * 首页
	 */
	public function index(){

		$data = D('Group')->index();

		if($data['code'] == 200){
			$this->assign($data);
			$this->display();
		}else{
			$this->error($data['msg']);
		}

	}



}

